.container {
    text-align: center;
    position: relative;
}

body {
    background-color: #F5F5F5;
}

#s1 {
    margin: 0 10px;
    color: #ccc;
}

#lead {
    height: 25px;
    background-color: #E2E3E4FF;
    text-align: right;
}
#lead a {
    margin-right: 20px;
}
.edit {
    display: none;
}

.edit input {
    width: 50px;

}


#p0 {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0;
    margin-inline-end: 0;
    font-size: 13px;
    margin-top: 2px;
}

#p0 a {
    color: #666;
    text-decoration: none;
}

.search {
    margin: 30px auto;
}

.right {
    float: right;
}
.search input:first-child {
    width: 400px;
    height: 30px;
}

.search button {
    width: 60px;
    height: 30px;
}

.bookList {
    background-color: #F5F5F5;
    margin: auto;
    text-align: left;
    height: 600px;
    position: relative; /* 设置 bookList 为相对定位 */
    z-index: 0; /* 设置较高的 z-index 值，确保 bookList 处于 productAutoComplete 之上 */
}

td {
    font-size: 16px;
}


.bookItem > img {
    height: 70%;
    width: 90%;
    margin-top: 5px;
}

.bookItem > .title {
    margin-top: 10px;
    font-family: 宋体, ui-monospace;
}

.bookItem > .author {
    margin-top: 5px;
    font-family: 宋体, ui-monospace;
    color: #a9a9a9;
}

.bookItem .discount {
    font-family: Arial, ui-monospace;
    color: red;
}

.bookItem .original {
    font-family: Arial, ui-monospace;
    color: #a9a9a9;
    text-decoration-line: line-through;
}

.footer {
    width: 100%;
    float: left;
    margin-top: 50px;
    margin-bottom: 20px;
}
.arrow {
    cursor: pointer;
}

#productAutoComplete{
    background: #467ab8;
    position: absolute;
    top: 114px;
    left: 315px;
    width: 400px;
    display: none;
    z-index: 1;
    border: 1px solid #ccc; /* 添加边框 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 添加阴影效果 */
    border-radius: 4px; /* 添加圆角边框 */
}
#productAutoList{
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #ccc; /* 调整提示框边框颜色 */
    border-top: none; /* 去掉顶部边框 */
}
.productAutoItem{
    height: 40px; /* 调整每个提示项的高度 */
    line-height: 40px; /* 垂直居中文本 */
    font-size: 14px; /* 调整字体大小 */
    text-align: left; /* 文本居中显示 */
    color: #333; /* 调整文本颜色 */
    cursor: pointer;
    transition: background-color 0.3s; /* 添加背景颜色过渡效果 */
}

.productAutoItem:hover {
    background-color: #f2f2f2; /* 鼠标悬停时的背景色 */
}
/* 注销按钮样式 */
a#logout {
    background-color: #f44336; /* 红色背景 */
    color: white; /* 白色文字 */
    padding: 10px 20px; /* 内边距 */
    text-decoration: none; /* 去掉下划线 */
    border-radius: 5px; /* 圆角 */
}